home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000056_news@columbia.edu _Thu Oct 5 00:09:09 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id AAA20234
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 5 Oct 2000 00:09:09 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id AAA04018
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Oct 2000 00:09:08 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id XAA10293
for kermit.misc@watsun.cc.columbia.edu; Wed, 4 Oct 2000 23:53:44 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jaltman@columbia.edu (Jeffrey Altman)
Subject: Re: No Carrier
Date: 5 Oct 2000 03:53:41 GMT
Organization: Columbia University
Message-ID: <8rgu05$a1j$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <y_QC5.4768$bI6.281878@news1.giganews.com>,
Steve <steve@baus-systems.com> wrote:
: > The FINISH command sent by the client and received by the SERVER causes
: > the SERVER command to terminate. Therefore, the EXIT command is executed
: > and the K95 session terminates hanging up the modem
: >
: > There is no need for the FINISH command to be sent, if the previous
: > session was closed prematurely by the client the SERVER command would
: > be automaticly terminated when the carrier signal was lost by the modem.
: >
: > Also, instead of using OUTPUT AT ... just configure the modem with the
: > proper SET MODEM TYPE command and use the ANSWER command to receive the
: > incoming call.
:
: The reason for the exit in the .ini after the server is before we put it in,
: when we would FIN on the DOS client, the server would go to the K95> prompt.
: We originally invoked K95 by shelling out using:
: k95 -l Com2 -b 9600 -x
: Then for flexibility purposes we thought we could use an ini file so we
: changed the command line to:
: k95 -y IniFileName
:
: This is where we started running into the K95> prompt issue. I have since
: changed to:
: k95 -y IniFileName -x
: and have taken out the server and exit lines of the .ini but am still
: getting the no carrier, even when I try the set modem type and the answer.
You should leave in the SERVER and EXIT commands. It is not a good idea
to mix command line and scripting.
: The modem I am testing with is a Cnet 56K, not sure what modem type I should
: specify, I have been telling it generic-high-speed.
You should use generic-high-speed as a base and customize it for your
modem as per the Using C-Kermit book. If you can FAX us a copy of the
modem manual, we can add support for the modem to the next version.
: Is the FIN what is causing the no carrier? If so that is going to be a
: problem as I doubt we can update the clients to change this. If I am
: running the server command in 3.15 instead of K95 and send a FIN from the
: DOS client all the time and it does not drop the line. Is this a change
: with K95?
The difference is that in C-Kermit and Kermit 95 the SERVER command
is a scriptable command. It terminates when applicable events occur
(carrier is lost with SET CARRIER-WATCH AUTO/ON; idle-timeouts; ...)
this allows you to write scripts that can properly manage multiple
phone calls. The MS-DOS Kermit SERVER command can only be termianted
by a FINISH or a Ctrl-C. There is no mechanism in the script language
to cancel the SERVER command in MS-DOS Kermit.
The FINISH command when received from the client means "terminate SERVER
mode". So if K95 receives that command when in SERVER mode the SERVER
will be terminated. The same is true for MS-DOS Kermit. If the SERVER
command is active and a FINISH is received the command will terminate.
If you want Kermit 95 to remain in SERVER mode after receiving one
FINISH command you will have to use
SET MODEM TYPE ...
SET PORT ...
SET FLOW ...
ANSWER
SERVER
SERVER
EXIT
Jeffrey Altman * Sr.Software Designer
The Kermit Project * Columbia University
612 West 115th St * New York, NY * 10025 * USA
http://www.kermit-project.org/ * kermit-support@kermit-project.org